/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

import com.xy.lang.validation.annotation.AlertMessage;

import java.util.Collection;
import java.util.List;

/**
 *
 *
 * @author zgy
 * @date 2021-9-22
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListGoodsRequest {

    @AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
    private Integer pageIndex;

    @AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
    private Integer pageSize;

    /**
     * 分类
     */
    private String category;
    /**
     * 货号
     */
    private String goodsCode;
    /**
     *
     */
    private Collection<String> goodsCodeList;
    /**
     * 货品长代码
     */
    private String goodsFullCode;
    /**
     * 货品简称
     */
    private String goodsAbbr;
    /**
     * 状态：0-存盘，1-启用，2-停用
     */
    private Integer status;

}
